package com.withouther.robot.rainingrobot.core.constants;

/**
 * @ClassName AsrType
 * @Auther: tzq
 * @Date: 2020/6/13 14:08
 * @Description:
 */
public class AsrType {
    /**
     * 阿里
     */
    public static final int ALI = 1;

    /**
     * 百度
     */
    public static final int BAIDU = 2;

    /**
     * 腾讯
     */
    public static final int TX = 3;

    /**
     * 思必驰
     */
    public static final int SBC = 4;

    /**
     * 获取asr厂商名称
     * @param index
     * @return
     */
    public static String getAsrTypeName(int index) {
        switch (index) {
            case ALI :
                return "阿里";
            case BAIDU :
                return "百度";
            case TX :
                return "腾讯";
            case SBC :
                return "思必驰";
            default:
                return "阿里";
        }
    }
}
